﻿namespace JsonContractResolverDemo;

public class OrderModel
{
    public int Id { get; set; }
    public string Name { get; set; }
    public List<OrderItemModel> OrderItems { get; set; }
    public string[] Values { get; set; }
}

public class OrderItemModel
{
    public int Id { get; set; }
    public string Name { get; set; }
    public List<OrderSubItemModel> OrderSubItems { get; set; }
    public List<string> Values { get; set; } 
}

public class OrderSubItemModel
{
    public int Id { get; set; }
    public string Name { get; set; }
}